A new maintenance release 0.1.11 of the
RcppSimdJson
package is now on
CRAN.
RcppSimdJson
wraps the fantastic and genuinely impressive
simdjson library by
Daniel Lemire and collaborators. Via
very clever algorithmic engineering to obtain largely branch-free code,
coupled with modern C++ and newer compiler instructions, it results in
parsing
gigabytes of JSON parsed per second which is quite
mindboggling. The best-case performance is faster than CPU speed as
use of parallel SIMD instructions and careful branch avoidance can lead
to less than one cpu cycle per byte parsed; see the video of the
talk by Daniel Lemire
at QCon.
This release responds to a
CRAN request to address issues now
identified by
-Wformat -Wformat-security
. These are
frequently pretty simple changes as it was here: all it took was an call
to
compileAttributes()
from an updated
Rcpp version which now injects
"%s"
as a format string when calling
Rf_error()
.
The (very short) NEWS entry for this release follows.
Changes in version 0.1.11
(2023-11-28)
RcppExports.cpp
has been regenerated under an update
Rcpp to address a print
format
warning (Dirk in #88).
Courtesy of my
CRANberries, there
is also a diffstat report for
this
release. For questions, suggestions, or issues please use the
issue
tracker at the
GitHub repo.
If you like this or other open-source work I do, you can now
sponsor me at
GitHub.
This post by Dirk
Eddelbuettel originated on his Thinking inside the box
blog. Please report excessive re-aggregation in third-party for-profit
settings.